<template>
  <div class="loading">
    <div class="toast">
      <var-loading type="wave" color="#2979ff" />
      <div class="tips">获取天气数据 ...</div>
    </div>
  </div>
</template>

<script setup></script>

<style lang="less" scoped>
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.1);
  /* 高斯模糊 (more not support !!!) */
  backdrop-filter: saturate(180%) blur(4px);
}
.toast {
  margin-top: 354px;
}
.toast img {
  height: 30px;
  width: 30px;
  margin-bottom: 10px;
  animation: rotate 1.2s linear infinite;
}
.toast .tips {
  color: #333;
  text-indent: 14px;
  font-size: 14px;
}
</style>
